<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>dSFMT: dSFMT.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">dSFMT
   &#160;<span id="projectnumber">2.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">dSFMT.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>double precision SIMD oriented Fast Mersenne Twister(dSFMT) pseudorandom number generator based on IEEE 754 format.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;assert.h&gt;</code><br/>
<code>#include &lt;inttypes.h&gt;</code><br/>
</div>
<p><a href="d_s_f_m_t_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_w128___t.html">W128_T</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">128-bit data structure  <a href="union_w128___t.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_d_s_f_m_t___t.html">DSFMT_T</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">the 128-bit internal state array  <a href="struct_d_s_f_m_t___t.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr class="memitem:aeda2790c35e4e205219e3c0ef1a2dd0a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#aeda2790c35e4e205219e3c0ef1a2dd0a">DSFMT_MEXP</a>&#160;&#160;&#160;19937</td></tr>
<tr class="memitem:a3b6595773bfd02df5481e6a459071a1c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a>&#160;&#160;&#160;((<a class="el" href="d_s_f_m_t_8h.html#aeda2790c35e4e205219e3c0ef1a2dd0a">DSFMT_MEXP</a> - 128) / 104 + 1)</td></tr>
<tr class="memdesc:a3b6595773bfd02df5481e6a459071a1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">DSFMT generator has an internal state array of 128-bit integers, and N is its size.  <a href="#a3b6595773bfd02df5481e6a459071a1c"></a><br/></td></tr>
<tr class="memitem:aa0bbbd372d361b7fe3ea3ec2013c9097"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#aa0bbbd372d361b7fe3ea3ec2013c9097">DSFMT_N32</a>&#160;&#160;&#160;(<a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a> * 4)</td></tr>
<tr class="memdesc:aa0bbbd372d361b7fe3ea3ec2013c9097"><td class="mdescLeft">&#160;</td><td class="mdescRight">N32 is the size of internal state array when regarded as an array of 32-bit integers.  <a href="#aa0bbbd372d361b7fe3ea3ec2013c9097"></a><br/></td></tr>
<tr class="memitem:a36560990b64532b75e95bf5b683599dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>&#160;&#160;&#160;(<a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a> * 2)</td></tr>
<tr class="memdesc:a36560990b64532b75e95bf5b683599dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">N64 is the size of internal state array when regarded as an array of 64-bit integers.  <a href="#a36560990b64532b75e95bf5b683599dc"></a><br/></td></tr>
<tr class="memitem:a00d24c7231be28dbaf71f5408f30e44c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a00d24c7231be28dbaf71f5408f30e44c">inline</a></td></tr>
<tr class="memitem:ac582131d7a7c8ee57e73180d1714f9d5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">PRIu64</a>&#160;&#160;&#160;&quot;llu&quot;</td></tr>
<tr class="memitem:aba38357387a474f439428dee1984fc5a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#aba38357387a474f439428dee1984fc5a">PRIx64</a>&#160;&#160;&#160;&quot;llx&quot;</td></tr>
<tr class="memitem:a014ce50c36f4de34281551e4da3d5195"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a014ce50c36f4de34281551e4da3d5195">UINT64_C</a>(v)&#160;&#160;&#160;(v ## ULL)</td></tr>
<tr class="memitem:a7490eb8287e4754e4e30153135f496e9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a>&#160;&#160;&#160;<a class="el" href="d_s_f_m_t_8h.html#a00d24c7231be28dbaf71f5408f30e44c">inline</a> static</td></tr>
<tr class="memitem:a5842d43aa58fb6f026a8fdc02cb15455"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a5842d43aa58fb6f026a8fdc02cb15455">DSFMT_PST_INLINE</a></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ab1ee414cba9ca0f33a3716e7a92c2b79"><td class="memItemLeft" align="right" valign="top">typedef union <a class="el" href="union_w128___t.html">W128_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a></td></tr>
<tr class="memdesc:ab1ee414cba9ca0f33a3716e7a92c2b79"><td class="mdescLeft">&#160;</td><td class="mdescRight">128-bit data type  <a href="#ab1ee414cba9ca0f33a3716e7a92c2b79"></a><br/></td></tr>
<tr class="memitem:a7e8239b4bedf4e53d5168d21848ab7af"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_d_s_f_m_t___t.html">DSFMT_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afccb1e4d75cea7ffe3b45cba53d1e5e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#afccb1e4d75cea7ffe3b45cba53d1e5e0">dsfmt_gen_rand_all</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt)</td></tr>
<tr class="memdesc:afccb1e4d75cea7ffe3b45cba53d1e5e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function fills the internal state array with double precision floating point pseudorandom numbers of the IEEE 754 format.  <a href="#afccb1e4d75cea7ffe3b45cba53d1e5e0"></a><br/></td></tr>
<tr class="memitem:a6ad6f12b9a47ea89ceab693b1eec5079"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a6ad6f12b9a47ea89ceab693b1eec5079">dsfmt_fill_array_open_close</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, double array[], int size)</td></tr>
<tr class="memdesc:a6ad6f12b9a47ea89ceab693b1eec5079"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1] to the specified array[] by one call.  <a href="#a6ad6f12b9a47ea89ceab693b1eec5079"></a><br/></td></tr>
<tr class="memitem:a243fb9ed1b61233f3dba4ab15c541eb0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a243fb9ed1b61233f3dba4ab15c541eb0">dsfmt_fill_array_close_open</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, double array[], int size)</td></tr>
<tr class="memdesc:a243fb9ed1b61233f3dba4ab15c541eb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range [0, 1) to the specified array[] by one call.  <a href="#a243fb9ed1b61233f3dba4ab15c541eb0"></a><br/></td></tr>
<tr class="memitem:aeed310e17f9f652c1b0ec86298c834c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#aeed310e17f9f652c1b0ec86298c834c1">dsfmt_fill_array_open_open</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, double array[], int size)</td></tr>
<tr class="memdesc:aeed310e17f9f652c1b0ec86298c834c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1) to the specified array[] by one call.  <a href="#aeed310e17f9f652c1b0ec86298c834c1"></a><br/></td></tr>
<tr class="memitem:abeef257039f3b95b7475bbecdb521b89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89">dsfmt_fill_array_close1_open2</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, double array[], int size)</td></tr>
<tr class="memdesc:abeef257039f3b95b7475bbecdb521b89"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range [1, 2) to the specified array[] by one call.  <a href="#abeef257039f3b95b7475bbecdb521b89"></a><br/></td></tr>
<tr class="memitem:a2fa6a84095a280a4e1556415f3d4f259"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a2fa6a84095a280a4e1556415f3d4f259">dsfmt_chk_init_gen_rand</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, uint32_t seed, int mexp)</td></tr>
<tr class="memdesc:a2fa6a84095a280a4e1556415f3d4f259"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the internal state array with a 32-bit integer seed.  <a href="#a2fa6a84095a280a4e1556415f3d4f259"></a><br/></td></tr>
<tr class="memitem:a91cef405a85910d4e56b4a1d10fb89f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a91cef405a85910d4e56b4a1d10fb89f1">dsfmt_chk_init_by_array</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, uint32_t init_key[], int key_length, int mexp)</td></tr>
<tr class="memdesc:a91cef405a85910d4e56b4a1d10fb89f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the internal state array, with an array of 32-bit integers used as the seeds.  <a href="#a91cef405a85910d4e56b4a1d10fb89f1"></a><br/></td></tr>
<tr class="memitem:af181eeb77513e5a399dd2c585cfaa055"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#af181eeb77513e5a399dd2c585cfaa055">dsfmt_get_idstring</a> (void)</td></tr>
<tr class="memdesc:af181eeb77513e5a399dd2c585cfaa055"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the identification string.  <a href="#af181eeb77513e5a399dd2c585cfaa055"></a><br/></td></tr>
<tr class="memitem:af49cc1703b4cc1d0bffbd895917c303a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#af49cc1703b4cc1d0bffbd895917c303a">dsfmt_get_min_array_size</a> (void)</td></tr>
<tr class="memdesc:af49cc1703b4cc1d0bffbd895917c303a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the minimum size of array used for <b>fill_array</b> functions.  <a href="#af49cc1703b4cc1d0bffbd895917c303a"></a><br/></td></tr>
<tr class="memitem:a49fc44ce077ee57594b8102eb04145d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a49fc44ce077ee57594b8102eb04145d9">dsfmt_genrand_uint32</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt)</td></tr>
<tr class="memdesc:a49fc44ce077ee57594b8102eb04145d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns unsigned 32-bit integer.  <a href="#a49fc44ce077ee57594b8102eb04145d9"></a><br/></td></tr>
<tr class="memitem:ae9bb29b63c46e57725dffa776cf930e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7">dsfmt_genrand_close1_open2</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt)</td></tr>
<tr class="memdesc:ae9bb29b63c46e57725dffa776cf930e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range [1, 2).  <a href="#ae9bb29b63c46e57725dffa776cf930e7"></a><br/></td></tr>
<tr class="memitem:a989a29c7d5616755721ee41f0d1c3982"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a989a29c7d5616755721ee41f0d1c3982">dsfmt_genrand_close_open</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt)</td></tr>
<tr class="memdesc:a989a29c7d5616755721ee41f0d1c3982"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range [0, 1).  <a href="#a989a29c7d5616755721ee41f0d1c3982"></a><br/></td></tr>
<tr class="memitem:ac8916cdece1e0ed671077ba869aae509"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ac8916cdece1e0ed671077ba869aae509">dsfmt_genrand_open_close</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt)</td></tr>
<tr class="memdesc:ac8916cdece1e0ed671077ba869aae509"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1].  <a href="#ac8916cdece1e0ed671077ba869aae509"></a><br/></td></tr>
<tr class="memitem:a147a0a05c969a4cb5d92ce3963b839c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a147a0a05c969a4cb5d92ce3963b839c2">dsfmt_genrand_open_open</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt)</td></tr>
<tr class="memdesc:a147a0a05c969a4cb5d92ce3963b839c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1).  <a href="#a147a0a05c969a4cb5d92ce3963b839c2"></a><br/></td></tr>
<tr class="memitem:ade87b39b59a4f8c2e09c5ad25a53b515"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ade87b39b59a4f8c2e09c5ad25a53b515">dsfmt_gv_genrand_uint32</a> (void)</td></tr>
<tr class="memdesc:ade87b39b59a4f8c2e09c5ad25a53b515"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns unsigned 32-bit integer.  <a href="#ade87b39b59a4f8c2e09c5ad25a53b515"></a><br/></td></tr>
<tr class="memitem:af298572e9f2449e59ddf486977006621"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621">dsfmt_gv_genrand_close1_open2</a> (void)</td></tr>
<tr class="memdesc:af298572e9f2449e59ddf486977006621"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range [1, 2).  <a href="#af298572e9f2449e59ddf486977006621"></a><br/></td></tr>
<tr class="memitem:ae57b11ef3fdcf04e84fc0298166aab82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ae57b11ef3fdcf04e84fc0298166aab82">dsfmt_gv_genrand_close_open</a> (void)</td></tr>
<tr class="memdesc:ae57b11ef3fdcf04e84fc0298166aab82"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range [0, 1).  <a href="#ae57b11ef3fdcf04e84fc0298166aab82"></a><br/></td></tr>
<tr class="memitem:afcdb7f3f26ca2d4a8f4e3854209fd4dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#afcdb7f3f26ca2d4a8f4e3854209fd4dd">dsfmt_gv_genrand_open_close</a> (void)</td></tr>
<tr class="memdesc:afcdb7f3f26ca2d4a8f4e3854209fd4dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1].  <a href="#afcdb7f3f26ca2d4a8f4e3854209fd4dd"></a><br/></td></tr>
<tr class="memitem:af6dbcef408462da1f40edd1a1ea5dcd3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#af6dbcef408462da1f40edd1a1ea5dcd3">dsfmt_gv_genrand_open_open</a> (void)</td></tr>
<tr class="memdesc:af6dbcef408462da1f40edd1a1ea5dcd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1).  <a href="#af6dbcef408462da1f40edd1a1ea5dcd3"></a><br/></td></tr>
<tr class="memitem:a92deacd8f90f332a130ab5a6fdae8348"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a92deacd8f90f332a130ab5a6fdae8348">dsfmt_gv_fill_array_open_close</a> (double array[], int size)</td></tr>
<tr class="memdesc:a92deacd8f90f332a130ab5a6fdae8348"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1] to the specified array[] by one call.  <a href="#a92deacd8f90f332a130ab5a6fdae8348"></a><br/></td></tr>
<tr class="memitem:a27e4b624752149e0450056a317d09214"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a27e4b624752149e0450056a317d09214">dsfmt_gv_fill_array_close_open</a> (double array[], int size)</td></tr>
<tr class="memdesc:a27e4b624752149e0450056a317d09214"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range [0, 1) to the specified array[] by one call.  <a href="#a27e4b624752149e0450056a317d09214"></a><br/></td></tr>
<tr class="memitem:a871323d18c3525787f63fcf071c4787d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a871323d18c3525787f63fcf071c4787d">dsfmt_gv_fill_array_open_open</a> (double array[], int size)</td></tr>
<tr class="memdesc:a871323d18c3525787f63fcf071c4787d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1) to the specified array[] by one call.  <a href="#a871323d18c3525787f63fcf071c4787d"></a><br/></td></tr>
<tr class="memitem:ae0ed5a2ba6eb6f21fa591a54020af3ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac">dsfmt_gv_fill_array_close1_open2</a> (double array[], int size)</td></tr>
<tr class="memdesc:ae0ed5a2ba6eb6f21fa591a54020af3ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates double precision floating point pseudorandom numbers which distribute in the range [1, 2) to the specified array[] by one call.  <a href="#ae0ed5a2ba6eb6f21fa591a54020af3ac"></a><br/></td></tr>
<tr class="memitem:a74e3849c0ae0929d57c9c9ac52d58cc8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8">dsfmt_gv_init_gen_rand</a> (uint32_t seed)</td></tr>
<tr class="memdesc:a74e3849c0ae0929d57c9c9ac52d58cc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the internal state array with a 32-bit integer seed.  <a href="#a74e3849c0ae0929d57c9c9ac52d58cc8"></a><br/></td></tr>
<tr class="memitem:a4f989ee92f5e4c8f71570dbb9d19e838"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838">dsfmt_gv_init_by_array</a> (uint32_t init_key[], int key_length)</td></tr>
<tr class="memdesc:a4f989ee92f5e4c8f71570dbb9d19e838"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the internal state array, with an array of 32-bit integers used as the seeds.  <a href="#a4f989ee92f5e4c8f71570dbb9d19e838"></a><br/></td></tr>
<tr class="memitem:a8df497c74e469b5f42e8a22d93124d41"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41">dsfmt_init_gen_rand</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, uint32_t seed)</td></tr>
<tr class="memdesc:a8df497c74e469b5f42e8a22d93124d41"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the internal state array with a 32-bit integer seed.  <a href="#a8df497c74e469b5f42e8a22d93124d41"></a><br/></td></tr>
<tr class="memitem:a0914ba62e9a46b6a1f04f27caa83ba87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87">dsfmt_init_by_array</a> (<a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *dsfmt, uint32_t init_key[], int key_length)</td></tr>
<tr class="memdesc:a0914ba62e9a46b6a1f04f27caa83ba87"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the internal state array, with an array of 32-bit integers used as the seeds.  <a href="#a0914ba62e9a46b6a1f04f27caa83ba87"></a><br/></td></tr>
<tr class="memitem:a2792d3dd76b6ae051d60830b676622ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a2792d3dd76b6ae051d60830b676622ba">get_idstring</a> (void)</td></tr>
<tr class="memdesc:a2792d3dd76b6ae051d60830b676622ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af181eeb77513e5a399dd2c585cfaa055" title="This function returns the identification string.">dsfmt_get_idstring()</a>.  <a href="#a2792d3dd76b6ae051d60830b676622ba"></a><br/></td></tr>
<tr class="memitem:a75ebedeed1c3d5e8576c53e5ce215fea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a75ebedeed1c3d5e8576c53e5ce215fea">get_min_array_size</a> (void)</td></tr>
<tr class="memdesc:a75ebedeed1c3d5e8576c53e5ce215fea"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af49cc1703b4cc1d0bffbd895917c303a" title="This function returns the minimum size of array used for fill_array functions.">dsfmt_get_min_array_size()</a>.  <a href="#a75ebedeed1c3d5e8576c53e5ce215fea"></a><br/></td></tr>
<tr class="memitem:a985425dba38a16554d3f2a9ee3a41e1b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a985425dba38a16554d3f2a9ee3a41e1b">init_gen_rand</a> (uint32_t seed)</td></tr>
<tr class="memdesc:a985425dba38a16554d3f2a9ee3a41e1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a>.  <a href="#a985425dba38a16554d3f2a9ee3a41e1b"></a><br/></td></tr>
<tr class="memitem:a5f12cfe61e34b29a9c4f88f097712205"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a5f12cfe61e34b29a9c4f88f097712205">init_by_array</a> (uint32_t init_key[], int key_length)</td></tr>
<tr class="memdesc:a5f12cfe61e34b29a9c4f88f097712205"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a>.  <a href="#a5f12cfe61e34b29a9c4f88f097712205"></a><br/></td></tr>
<tr class="memitem:a01bce92db767a0f976b56f88f8f89515"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a01bce92db767a0f976b56f88f8f89515">genrand_close1_open2</a> (void)</td></tr>
<tr class="memdesc:a01bce92db767a0f976b56f88f8f89515"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_close1_open2()</a>.  <a href="#a01bce92db767a0f976b56f88f8f89515"></a><br/></td></tr>
<tr class="memitem:a188b24295a56aa56f823c7dfb0615971"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a188b24295a56aa56f823c7dfb0615971">genrand_close_open</a> (void)</td></tr>
<tr class="memdesc:a188b24295a56aa56f823c7dfb0615971"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#ae57b11ef3fdcf04e84fc0298166aab82" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_close_open()</a>.  <a href="#a188b24295a56aa56f823c7dfb0615971"></a><br/></td></tr>
<tr class="memitem:ab24d54ba54b0249c02200a7f3232b342"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ab24d54ba54b0249c02200a7f3232b342">genrand_open_close</a> (void)</td></tr>
<tr class="memdesc:ab24d54ba54b0249c02200a7f3232b342"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#afcdb7f3f26ca2d4a8f4e3854209fd4dd" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_open_close()</a>.  <a href="#ab24d54ba54b0249c02200a7f3232b342"></a><br/></td></tr>
<tr class="memitem:a902ef40cb5e9e3caad2cfb478224c071"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a902ef40cb5e9e3caad2cfb478224c071">genrand_open_open</a> (void)</td></tr>
<tr class="memdesc:a902ef40cb5e9e3caad2cfb478224c071"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af6dbcef408462da1f40edd1a1ea5dcd3" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_open_open()</a>.  <a href="#a902ef40cb5e9e3caad2cfb478224c071"></a><br/></td></tr>
<tr class="memitem:a4d6c1e2049214ae128c1f9226ad683b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a4d6c1e2049214ae128c1f9226ad683b9">fill_array_open_close</a> (double array[], int size)</td></tr>
<tr class="memdesc:a4d6c1e2049214ae128c1f9226ad683b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#a92deacd8f90f332a130ab5a6fdae8348" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_open_close()</a>.  <a href="#a4d6c1e2049214ae128c1f9226ad683b9"></a><br/></td></tr>
<tr class="memitem:a5a6dd5166f4dcc137bce8f1aeea758a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a5a6dd5166f4dcc137bce8f1aeea758a5">fill_array_close_open</a> (double array[], int size)</td></tr>
<tr class="memdesc:a5a6dd5166f4dcc137bce8f1aeea758a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#a27e4b624752149e0450056a317d09214" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close_open()</a>.  <a href="#a5a6dd5166f4dcc137bce8f1aeea758a5"></a><br/></td></tr>
<tr class="memitem:adeaef304a7f9f262588bdbcf780feb42"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#adeaef304a7f9f262588bdbcf780feb42">fill_array_open_open</a> (double array[], int size)</td></tr>
<tr class="memdesc:adeaef304a7f9f262588bdbcf780feb42"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#a871323d18c3525787f63fcf071c4787d" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_open_open()</a>.  <a href="#adeaef304a7f9f262588bdbcf780feb42"></a><br/></td></tr>
<tr class="memitem:a98e1c0307c01044eb8d1c5136b59af9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d">fill_array_close1_open2</a> (double array[], int size)</td></tr>
<tr class="memdesc:a98e1c0307c01044eb8d1c5136b59af9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a>.  <a href="#a98e1c0307c01044eb8d1c5136b59af9d"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:adfee3c4c3505ddcfc334251f94968737"><td class="memItemLeft" align="right" valign="top"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#adfee3c4c3505ddcfc334251f94968737">dsfmt_global_data</a></td></tr>
<tr class="memdesc:adfee3c4c3505ddcfc334251f94968737"><td class="mdescLeft">&#160;</td><td class="mdescRight">dsfmt internal state vector  <a href="#adfee3c4c3505ddcfc334251f94968737"></a><br/></td></tr>
<tr class="memitem:ab5bb9876d117b3cdf8143c701a3f8cdf"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t_8h.html#ab5bb9876d117b3cdf8143c701a3f8cdf">dsfmt_global_mexp</a></td></tr>
<tr class="memdesc:ab5bb9876d117b3cdf8143c701a3f8cdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">dsfmt mexp for check  <a href="#ab5bb9876d117b3cdf8143c701a3f8cdf"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>double precision SIMD oriented Fast Mersenne Twister(dSFMT) pseudorandom number generator based on IEEE 754 format. </p>
<dl class="section author"><dt>Author:</dt><dd>Mutsuo Saito (Hiroshima University) </dd>
<dd>
Makoto Matsumoto (Hiroshima University)</dd></dl>
<p>Copyright (C) 2007, 2008 Mutsuo Saito, Makoto Matsumoto and Hiroshima University. All rights reserved. Copyright (C) 2012 Mutsuo Saito, Makoto Matsumoto, Hiroshima University and The University of Tokyo. All rights reserved.</p>
<p>The new BSD License is applied to this software. see LICENSE.txt</p>
<dl class="section note"><dt>Note:</dt><dd>We assume that your system has inttypes.h. If your system doesn't have inttypes.h, you have to typedef uint32_t and uint64_t, and you have to define PRIu64 and PRIx64 in this file as follows: <div class="fragment"><pre class="fragment"> typedef unsigned int uint32_t
 typedef unsigned long long uint64_t
 #define PRIu64 "llu"
 #define PRIx64 "llx"
</pre></div> uint32_t must be exactly 32-bit unsigned integer type (no more, no less), and uint64_t must be exactly 64-bit unsigned integer type. PRIu64 and PRIx64 are used for printf function to print 64-bit unsigned int and 64-bit unsigned int in hexadecimal format. </dd></dl>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="aeda2790c35e4e205219e3c0ef1a2dd0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#aeda2790c35e4e205219e3c0ef1a2dd0a">DSFMT_MEXP</a>&#160;&#160;&#160;19937</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87">dsfmt_init_by_array()</a>, and <a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41">dsfmt_init_gen_rand()</a>.</p>

</div>
</div>
<a class="anchor" id="a3b6595773bfd02df5481e6a459071a1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a>&#160;&#160;&#160;((<a class="el" href="d_s_f_m_t_8h.html#aeda2790c35e4e205219e3c0ef1a2dd0a">DSFMT_MEXP</a> - 128) / 104 + 1)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>DSFMT generator has an internal state array of 128-bit integers, and N is its size. </p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8c.html#a91cef405a85910d4e56b4a1d10fb89f1">dsfmt_chk_init_by_array()</a>, <a class="el" href="d_s_f_m_t_8c.html#a2fa6a84095a280a4e1556415f3d4f259">dsfmt_chk_init_gen_rand()</a>, <a class="el" href="d_s_f_m_t_8c.html#afccb1e4d75cea7ffe3b45cba53d1e5e0">dsfmt_gen_rand_all()</a>, <a class="el" href="d_s_f_m_t_8c.html#a0002bc60cd5c3227bd12f478a32463ba">gen_rand_array_c0o1()</a>, <a class="el" href="d_s_f_m_t_8c.html#aa56a7244d54e2e8bb162a91ebe098e65">gen_rand_array_c1o2()</a>, <a class="el" href="d_s_f_m_t_8c.html#a0905d57b8333da366b25773f0b3c5326">gen_rand_array_o0c1()</a>, <a class="el" href="d_s_f_m_t_8c.html#a2bad2f5ded750e7c250a121cdb61166e">gen_rand_array_o0o1()</a>, <a class="el" href="d_s_f_m_t_8c.html#a95a1673e2b7b3a48a7eab8fa19e18e1d">initial_mask()</a>, and <a class="el" href="d_s_f_m_t_8c.html#a8c0334eb83e12d16f2cfe48929114e44">period_certification()</a>.</p>

</div>
</div>
<a class="anchor" id="aa0bbbd372d361b7fe3ea3ec2013c9097"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#aa0bbbd372d361b7fe3ea3ec2013c9097">DSFMT_N32</a>&#160;&#160;&#160;(<a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a> * 4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>N32 is the size of internal state array when regarded as an array of 32-bit integers. </p>

</div>
</div>
<a class="anchor" id="a36560990b64532b75e95bf5b683599dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>&#160;&#160;&#160;(<a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a> * 2)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>N64 is the size of internal state array when regarded as an array of 64-bit integers. </p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8c.html#a91cef405a85910d4e56b4a1d10fb89f1">dsfmt_chk_init_by_array()</a>, <a class="el" href="d_s_f_m_t_8c.html#a2fa6a84095a280a4e1556415f3d4f259">dsfmt_chk_init_gen_rand()</a>, <a class="el" href="d_s_f_m_t_8c.html#abeef257039f3b95b7475bbecdb521b89">dsfmt_fill_array_close1_open2()</a>, <a class="el" href="d_s_f_m_t_8c.html#a243fb9ed1b61233f3dba4ab15c541eb0">dsfmt_fill_array_close_open()</a>, <a class="el" href="d_s_f_m_t_8c.html#a6ad6f12b9a47ea89ceab693b1eec5079">dsfmt_fill_array_open_close()</a>, <a class="el" href="d_s_f_m_t_8c.html#aeed310e17f9f652c1b0ec86298c834c1">dsfmt_fill_array_open_open()</a>, <a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7">dsfmt_genrand_close1_open2()</a>, <a class="el" href="d_s_f_m_t_8h.html#a147a0a05c969a4cb5d92ce3963b839c2">dsfmt_genrand_open_open()</a>, <a class="el" href="d_s_f_m_t_8h.html#a49fc44ce077ee57594b8102eb04145d9">dsfmt_genrand_uint32()</a>, and <a class="el" href="d_s_f_m_t_8c.html#af49cc1703b4cc1d0bffbd895917c303a">dsfmt_get_min_array_size()</a>.</p>

</div>
</div>
<a class="anchor" id="a7490eb8287e4754e4e30153135f496e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#a7490eb8287e4754e4e30153135f496e9">DSFMT_PRE_INLINE</a>&#160;&#160;&#160;<a class="el" href="d_s_f_m_t_8h.html#a00d24c7231be28dbaf71f5408f30e44c">inline</a> static</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5842d43aa58fb6f026a8fdc02cb15455"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#a5842d43aa58fb6f026a8fdc02cb15455">DSFMT_PST_INLINE</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a00d24c7231be28dbaf71f5408f30e44c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#a00d24c7231be28dbaf71f5408f30e44c">inline</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac582131d7a7c8ee57e73180d1714f9d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">PRIu64</a>&#160;&#160;&#160;&quot;llu&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aba38357387a474f439428dee1984fc5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#aba38357387a474f439428dee1984fc5a">PRIx64</a>&#160;&#160;&#160;&quot;llx&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a014ce50c36f4de34281551e4da3d5195"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="d_s_f_m_t_8h.html#a014ce50c36f4de34281551e4da3d5195">UINT64_C</a></td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v</td><td>)</td>
          <td>&#160;&#160;&#160;(v ## ULL)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="a7e8239b4bedf4e53d5168d21848ab7af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_d_s_f_m_t___t.html">DSFMT_T</a> <a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab1ee414cba9ca0f33a3716e7a92c2b79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef union <a class="el" href="union_w128___t.html">W128_T</a> <a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>128-bit data type </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a91cef405a85910d4e56b4a1d10fb89f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="d_s_f_m_t_8c.html#a91cef405a85910d4e56b4a1d10fb89f1">dsfmt_chk_init_by_array</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>init_key</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>key_length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mexp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function initializes the internal state array, with an array of 32-bit integers used as the seeds. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
    <tr><td class="paramname">init_key</td><td>the array of 32-bit integers, used as a seed. </td></tr>
    <tr><td class="paramname">key_length</td><td>the length of init_key. </td></tr>
    <tr><td class="paramname">mexp</td><td>caller's mersenne expornent </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a>, <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, <a class="el" href="struct_d_s_f_m_t___t.html#a776de3ff937f19d246e7edce2676981a">DSFMT_T::idx</a>, <a class="el" href="d_s_f_m_t_8c.html#a6ceeab85133c3fd7ec95aa85523ff544">idxof()</a>, <a class="el" href="d_s_f_m_t_8c.html#afe0e4e5727d9188f5ae1632da731d412">ini_func1()</a>, <a class="el" href="d_s_f_m_t_8c.html#a8da6197e2fe073abb9016e3cf4822807">ini_func2()</a>, <a class="el" href="d_s_f_m_t_8c.html#a95a1673e2b7b3a48a7eab8fa19e18e1d">initial_mask()</a>, <a class="el" href="d_s_f_m_t_8c.html#a8c0334eb83e12d16f2cfe48929114e44">period_certification()</a>, <a class="el" href="struct_d_s_f_m_t___t.html#aa7b5e6f3e8e109b75493514525854931">DSFMT_T::status</a>, and <a class="el" href="union_w128___t.html#a0fe5abc7066ccd41c10cbc6ad9d44195">W128_T::u32</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87">dsfmt_init_by_array()</a>.</p>

</div>
</div>
<a class="anchor" id="a2fa6a84095a280a4e1556415f3d4f259"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="d_s_f_m_t_8c.html#a2fa6a84095a280a4e1556415f3d4f259">dsfmt_chk_init_gen_rand</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>seed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mexp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function initializes the internal state array with a 32-bit integer seed. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
    <tr><td class="paramname">seed</td><td>a 32-bit integer used as the seed. </td></tr>
    <tr><td class="paramname">mexp</td><td>caller's mersenne expornent </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a>, <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, <a class="el" href="struct_d_s_f_m_t___t.html#a776de3ff937f19d246e7edce2676981a">DSFMT_T::idx</a>, <a class="el" href="d_s_f_m_t_8c.html#a6ceeab85133c3fd7ec95aa85523ff544">idxof()</a>, <a class="el" href="d_s_f_m_t_8c.html#a95a1673e2b7b3a48a7eab8fa19e18e1d">initial_mask()</a>, <a class="el" href="d_s_f_m_t_8c.html#a8c0334eb83e12d16f2cfe48929114e44">period_certification()</a>, <a class="el" href="struct_d_s_f_m_t___t.html#aa7b5e6f3e8e109b75493514525854931">DSFMT_T::status</a>, and <a class="el" href="union_w128___t.html#a0fe5abc7066ccd41c10cbc6ad9d44195">W128_T::u32</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41">dsfmt_init_gen_rand()</a>.</p>

</div>
</div>
<a class="anchor" id="abeef257039f3b95b7475bbecdb521b89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="d_s_f_m_t_8c.html#abeef257039f3b95b7475bbecdb521b89">dsfmt_fill_array_close1_open2</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range [1, 2) to the specified array[] by one call. </p>
<p>The number of pseudorandom numbers is specified by the argument <b>size</b>, which must be at least (SFMT_MEXP / 128) * 2 and a multiple of two. The function <a class="el" href="d_s_f_m_t_8h.html#a75ebedeed1c3d5e8576c53e5ce215fea" title="This function is just the same as dsfmt_get_min_array_size().">get_min_array_size()</a> returns this minimum size. The generation by this function is much faster than the following fill_array_xxx functions.</p>
<p>For initialization, <a class="el" href="d_s_f_m_t_8h.html#a985425dba38a16554d3f2a9ee3a41e1b" title="This function is just the same as dsfmt_gv_init_gen_rand().">init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a5f12cfe61e34b29a9c4f88f097712205" title="This function is just the same as dsfmt_gv_init_by_array().">init_by_array()</a> must be called before the first call of this function. This function can not be used after calling genrand_xxx functions, without initialization.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. The pointer to the array must be "aligned" (namely, must be a multiple of 16) in the SIMD version, since it refers to the address of a 128-bit integer. In the standard C version, the pointer is arbitrary.</td></tr>
    <tr><td class="paramname">size</td><td>the number of 64-bit pseudorandom integers to be generated. size must be a multiple of 2, and greater than or equal to (SFMT_MEXP / 128) * 2.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note:</dt><dd><b>memalign</b> or <b>posix_memalign</b> is available to get aligned memory. Mac OSX doesn't have these functions, but <b>malloc</b> of OSX returns the pointer to the aligned memory block. </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, and <a class="el" href="d_s_f_m_t_8c.html#aa56a7244d54e2e8bb162a91ebe098e65">gen_rand_array_c1o2()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac">dsfmt_gv_fill_array_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="a243fb9ed1b61233f3dba4ab15c541eb0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="d_s_f_m_t_8c.html#a243fb9ed1b61233f3dba4ab15c541eb0">dsfmt_fill_array_close_open</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range [0, 1) to the specified array[] by one call. </p>
<p>This function is the same as <a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d" title="This function is juset the same as dsfmt_gv_fill_array_close1_open2().">fill_array_close1_open2()</a> except the distribution range.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d" title="This function is juset the same as dsfmt_gv_fill_array_close1_open2().">fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, and <a class="el" href="d_s_f_m_t_8c.html#a0002bc60cd5c3227bd12f478a32463ba">gen_rand_array_c0o1()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a27e4b624752149e0450056a317d09214">dsfmt_gv_fill_array_close_open()</a>.</p>

</div>
</div>
<a class="anchor" id="a6ad6f12b9a47ea89ceab693b1eec5079"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="d_s_f_m_t_8c.html#a6ad6f12b9a47ea89ceab693b1eec5079">dsfmt_fill_array_open_close</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1] to the specified array[] by one call. </p>
<p>This function is the same as <a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d" title="This function is juset the same as dsfmt_gv_fill_array_close1_open2().">fill_array_close1_open2()</a> except the distribution range.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d" title="This function is juset the same as dsfmt_gv_fill_array_close1_open2().">fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, and <a class="el" href="d_s_f_m_t_8c.html#a0905d57b8333da366b25773f0b3c5326">gen_rand_array_o0c1()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a92deacd8f90f332a130ab5a6fdae8348">dsfmt_gv_fill_array_open_close()</a>.</p>

</div>
</div>
<a class="anchor" id="aeed310e17f9f652c1b0ec86298c834c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="d_s_f_m_t_8c.html#aeed310e17f9f652c1b0ec86298c834c1">dsfmt_fill_array_open_open</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1) to the specified array[] by one call. </p>
<p>This function is the same as <a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d" title="This function is juset the same as dsfmt_gv_fill_array_close1_open2().">fill_array_close1_open2()</a> except the distribution range.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d" title="This function is juset the same as dsfmt_gv_fill_array_close1_open2().">fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, and <a class="el" href="d_s_f_m_t_8c.html#a2bad2f5ded750e7c250a121cdb61166e">gen_rand_array_o0o1()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a871323d18c3525787f63fcf071c4787d">dsfmt_gv_fill_array_open_open()</a>.</p>

</div>
</div>
<a class="anchor" id="afccb1e4d75cea7ffe3b45cba53d1e5e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="d_s_f_m_t_8c.html#afccb1e4d75cea7ffe3b45cba53d1e5e0">dsfmt_gen_rand_all</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function fills the internal state array with double precision floating point pseudorandom numbers of the IEEE 754 format. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="d_s_f_m_t-common_8h.html#a43e33e2235015c9c072bad7dfe1a282c">do_recursion()</a>, <a class="el" href="d_s_f_m_t_8h.html#a3b6595773bfd02df5481e6a459071a1c">DSFMT_N</a>, and <a class="el" href="struct_d_s_f_m_t___t.html#aa7b5e6f3e8e109b75493514525854931">DSFMT_T::status</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7">dsfmt_genrand_close1_open2()</a>, <a class="el" href="d_s_f_m_t_8h.html#a147a0a05c969a4cb5d92ce3963b839c2">dsfmt_genrand_open_open()</a>, and <a class="el" href="d_s_f_m_t_8h.html#a49fc44ce077ee57594b8102eb04145d9">dsfmt_genrand_uint32()</a>.</p>

</div>
</div>
<a class="anchor" id="ae9bb29b63c46e57725dffa776cf930e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7">dsfmt_genrand_close1_open2</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range [1, 2). </p>
<p>This is the primitive and faster than generating numbers in other ranges. <a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_init_by_array()</a> must be called before this function. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt internal state date </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="union_w128___t.html#af1781b30d4052a0832fb7e7cd992cb75">W128_T::d</a>, <a class="el" href="d_s_f_m_t_8h.html#afccb1e4d75cea7ffe3b45cba53d1e5e0">dsfmt_gen_rand_all()</a>, <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, <a class="el" href="struct_d_s_f_m_t___t.html#a776de3ff937f19d246e7edce2676981a">DSFMT_T::idx</a>, and <a class="el" href="struct_d_s_f_m_t___t.html#aa7b5e6f3e8e109b75493514525854931">DSFMT_T::status</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a989a29c7d5616755721ee41f0d1c3982">dsfmt_genrand_close_open()</a>, <a class="el" href="d_s_f_m_t_8h.html#ac8916cdece1e0ed671077ba869aae509">dsfmt_genrand_open_close()</a>, and <a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621">dsfmt_gv_genrand_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="a989a29c7d5616755721ee41f0d1c3982"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#a989a29c7d5616755721ee41f0d1c3982">dsfmt_genrand_close_open</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range [0, 1). </p>
<p><a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_init_by_array()</a> must be called before this function. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt internal state date </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7">dsfmt_genrand_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="ac8916cdece1e0ed671077ba869aae509"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#ac8916cdece1e0ed671077ba869aae509">dsfmt_genrand_open_close</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1]. </p>
<p><a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_init_by_array()</a> must be called before this function. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt internal state date </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7">dsfmt_genrand_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="a147a0a05c969a4cb5d92ce3963b839c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#a147a0a05c969a4cb5d92ce3963b839c2">dsfmt_genrand_open_open</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1). </p>
<p><a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_init_by_array()</a> must be called before this function. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt internal state date </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="union_w128___t.html#af1781b30d4052a0832fb7e7cd992cb75">W128_T::d</a>, <a class="el" href="d_s_f_m_t_8h.html#afccb1e4d75cea7ffe3b45cba53d1e5e0">dsfmt_gen_rand_all()</a>, <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>, <a class="el" href="struct_d_s_f_m_t___t.html#a776de3ff937f19d246e7edce2676981a">DSFMT_T::idx</a>, and <a class="el" href="struct_d_s_f_m_t___t.html#aa7b5e6f3e8e109b75493514525854931">DSFMT_T::status</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#af6dbcef408462da1f40edd1a1ea5dcd3">dsfmt_gv_genrand_open_open()</a>.</p>

</div>
</div>
<a class="anchor" id="a49fc44ce077ee57594b8102eb04145d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t <a class="el" href="d_s_f_m_t_8h.html#a49fc44ce077ee57594b8102eb04145d9">dsfmt_genrand_uint32</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns unsigned 32-bit integer. </p>
<p>This is slower than SFMT, only for convenience usage. <a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_init_by_array()</a> must be called before this function. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt internal state date </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#afccb1e4d75cea7ffe3b45cba53d1e5e0">dsfmt_gen_rand_all()</a>, and <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#ade87b39b59a4f8c2e09c5ad25a53b515">dsfmt_gv_genrand_uint32()</a>.</p>

</div>
</div>
<a class="anchor" id="af181eeb77513e5a399dd2c585cfaa055"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="d_s_f_m_t_8c.html#af181eeb77513e5a399dd2c585cfaa055">dsfmt_get_idstring</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function returns the identification string. </p>
<p>The string shows the Mersenne exponent, and all parameters of this generator. </p>
<dl class="section return"><dt>Returns:</dt><dd>id string. </dd></dl>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a2792d3dd76b6ae051d60830b676622ba">get_idstring()</a>.</p>

</div>
</div>
<a class="anchor" id="af49cc1703b4cc1d0bffbd895917c303a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="d_s_f_m_t_8c.html#af49cc1703b4cc1d0bffbd895917c303a">dsfmt_get_min_array_size</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function returns the minimum size of array used for <b>fill_array</b> functions. </p>
<dl class="section return"><dt>Returns:</dt><dd>minimum size of array used for fill_array functions. </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a36560990b64532b75e95bf5b683599dc">DSFMT_N64</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a75ebedeed1c3d5e8576c53e5ce215fea">get_min_array_size()</a>.</p>

</div>
</div>
<a class="anchor" id="ae0ed5a2ba6eb6f21fa591a54020af3ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac">dsfmt_gv_fill_array_close1_open2</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range [1, 2) to the specified array[] by one call. </p>
<p>This function is the same as <a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a> except that this function uses <b>global</b> variables. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89">dsfmt_fill_array_close1_open2()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d">fill_array_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="a27e4b624752149e0450056a317d09214"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a27e4b624752149e0450056a317d09214">dsfmt_gv_fill_array_close_open</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range [0, 1) to the specified array[] by one call. </p>
<p>This function is the same as <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> except the distribution range. This function uses <b>global</b> variables. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a> </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a243fb9ed1b61233f3dba4ab15c541eb0">dsfmt_fill_array_close_open()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a5a6dd5166f4dcc137bce8f1aeea758a5">fill_array_close_open()</a>.</p>

</div>
</div>
<a class="anchor" id="a92deacd8f90f332a130ab5a6fdae8348"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a92deacd8f90f332a130ab5a6fdae8348">dsfmt_gv_fill_array_open_close</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1] to the specified array[] by one call. </p>
<p>This function is the same as <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> except the distribution range. This function uses <b>global</b> variables. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a> and </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a6ad6f12b9a47ea89ceab693b1eec5079">dsfmt_fill_array_open_close()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a4d6c1e2049214ae128c1f9226ad683b9">fill_array_open_close()</a>.</p>

</div>
</div>
<a class="anchor" id="a871323d18c3525787f63fcf071c4787d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a871323d18c3525787f63fcf071c4787d">dsfmt_gv_fill_array_open_open</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates double precision floating point pseudorandom numbers which distribute in the range (0, 1) to the specified array[] by one call. </p>
<p>This function is the same as <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> except the distribution range. This function uses <b>global</b> variables. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a> </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#aeed310e17f9f652c1b0ec86298c834c1">dsfmt_fill_array_open_open()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#adeaef304a7f9f262588bdbcf780feb42">fill_array_open_open()</a>.</p>

</div>
</div>
<a class="anchor" id="af298572e9f2449e59ddf486977006621"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621">dsfmt_gv_genrand_close1_open2</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range [1, 2). </p>
<p><a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a> must be called before this function. This function uses <b>global</b> variables. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7">dsfmt_genrand_close1_open2()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#ae57b11ef3fdcf04e84fc0298166aab82">dsfmt_gv_genrand_close_open()</a>, <a class="el" href="d_s_f_m_t_8h.html#afcdb7f3f26ca2d4a8f4e3854209fd4dd">dsfmt_gv_genrand_open_close()</a>, and <a class="el" href="d_s_f_m_t_8h.html#a01bce92db767a0f976b56f88f8f89515">genrand_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="ae57b11ef3fdcf04e84fc0298166aab82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#ae57b11ef3fdcf04e84fc0298166aab82">dsfmt_gv_genrand_close_open</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range [0, 1). </p>
<p><a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a> must be called before this function. This function uses <b>global</b> variables. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621">dsfmt_gv_genrand_close1_open2()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a188b24295a56aa56f823c7dfb0615971">genrand_close_open()</a>.</p>

</div>
</div>
<a class="anchor" id="afcdb7f3f26ca2d4a8f4e3854209fd4dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#afcdb7f3f26ca2d4a8f4e3854209fd4dd">dsfmt_gv_genrand_open_close</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1]. </p>
<p><a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a> must be called before this function. This function uses <b>global</b> variables. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621">dsfmt_gv_genrand_close1_open2()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#ab24d54ba54b0249c02200a7f3232b342">genrand_open_close()</a>.</p>

</div>
</div>
<a class="anchor" id="af6dbcef408462da1f40edd1a1ea5dcd3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#af6dbcef408462da1f40edd1a1ea5dcd3">dsfmt_gv_genrand_open_open</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns double precision pseudorandom number which distributes uniformly in the range (0, 1). </p>
<p><a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a> must be called before this function. This function uses <b>global</b> variables. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a147a0a05c969a4cb5d92ce3963b839c2">dsfmt_genrand_open_open()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a902ef40cb5e9e3caad2cfb478224c071">genrand_open_open()</a>.</p>

</div>
</div>
<a class="anchor" id="ade87b39b59a4f8c2e09c5ad25a53b515"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t <a class="el" href="d_s_f_m_t_8h.html#ade87b39b59a4f8c2e09c5ad25a53b515">dsfmt_gv_genrand_uint32</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function generates and returns unsigned 32-bit integer. </p>
<p>This is slower than SFMT, only for convenience usage. <a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a> or <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a> must be called before this function. This function uses <b>global</b> variables. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point pseudorandom number </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a49fc44ce077ee57594b8102eb04145d9">dsfmt_genrand_uint32()</a>.</p>

</div>
</div>
<a class="anchor" id="a4f989ee92f5e4c8f71570dbb9d19e838"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838">dsfmt_gv_init_by_array</a> </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>init_key</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>key_length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function initializes the internal state array, with an array of 32-bit integers used as the seeds. </p>
<p>This function uses <b>global</b> variables. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">init_key</td><td>the array of 32-bit integers, used as a seed. </td></tr>
    <tr><td class="paramname">key_length</td><td>the length of init_key. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_init_by_array()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87">dsfmt_init_by_array()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a5f12cfe61e34b29a9c4f88f097712205">init_by_array()</a>.</p>

</div>
</div>
<a class="anchor" id="a74e3849c0ae0929d57c9c9ac52d58cc8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8">dsfmt_gv_init_gen_rand</a> </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>seed</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function initializes the internal state array with a 32-bit integer seed. </p>
<p>This function uses <b>global</b> variables. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">seed</td><td>a 32-bit integer used as the seed. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_init_gen_rand()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41">dsfmt_init_gen_rand()</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a985425dba38a16554d3f2a9ee3a41e1b">init_gen_rand()</a>.</p>

</div>
</div>
<a class="anchor" id="a0914ba62e9a46b6a1f04f27caa83ba87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87">dsfmt_init_by_array</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>init_key</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>key_length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function initializes the internal state array, with an array of 32-bit integers used as the seeds. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector </td></tr>
    <tr><td class="paramname">init_key</td><td>the array of 32-bit integers, used as a seed. </td></tr>
    <tr><td class="paramname">key_length</td><td>the length of init_key. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a91cef405a85910d4e56b4a1d10fb89f1">dsfmt_chk_init_by_array()</a>, and <a class="el" href="d_s_f_m_t_8h.html#aeda2790c35e4e205219e3c0ef1a2dd0a">DSFMT_MEXP</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838">dsfmt_gv_init_by_array()</a>.</p>

</div>
</div>
<a class="anchor" id="a8df497c74e469b5f42e8a22d93124d41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41">dsfmt_init_gen_rand</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> *&#160;</td>
          <td class="paramname"><em>dsfmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>seed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function initializes the internal state array with a 32-bit integer seed. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dsfmt</td><td>dsfmt state vector. </td></tr>
    <tr><td class="paramname">seed</td><td>a 32-bit integer used as the seed. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a2fa6a84095a280a4e1556415f3d4f259">dsfmt_chk_init_gen_rand()</a>, and <a class="el" href="d_s_f_m_t_8h.html#aeda2790c35e4e205219e3c0ef1a2dd0a">DSFMT_MEXP</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8">dsfmt_gv_init_gen_rand()</a>.</p>

</div>
</div>
<a class="anchor" id="a98e1c0307c01044eb8d1c5136b59af9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a98e1c0307c01044eb8d1c5136b59af9d">fill_array_close1_open2</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac">dsfmt_gv_fill_array_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="a5a6dd5166f4dcc137bce8f1aeea758a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a5a6dd5166f4dcc137bce8f1aeea758a5">fill_array_close_open</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#a27e4b624752149e0450056a317d09214" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close_open()</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a27e4b624752149e0450056a317d09214" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close_open()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a27e4b624752149e0450056a317d09214">dsfmt_gv_fill_array_close_open()</a>.</p>

</div>
</div>
<a class="anchor" id="a4d6c1e2049214ae128c1f9226ad683b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a4d6c1e2049214ae128c1f9226ad683b9">fill_array_open_close</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#a92deacd8f90f332a130ab5a6fdae8348" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_open_close()</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a92deacd8f90f332a130ab5a6fdae8348" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_open_close()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a92deacd8f90f332a130ab5a6fdae8348">dsfmt_gv_fill_array_open_close()</a>.</p>

</div>
</div>
<a class="anchor" id="adeaef304a7f9f262588bdbcf780feb42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#adeaef304a7f9f262588bdbcf780feb42">fill_array_open_open</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>array</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is juset the same as <a class="el" href="d_s_f_m_t_8h.html#a871323d18c3525787f63fcf071c4787d" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_open_open()</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>an array where pseudorandom numbers are filled by this function. </td></tr>
    <tr><td class="paramname">size</td><td>the number of pseudorandom numbers to be generated. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a871323d18c3525787f63fcf071c4787d" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_open_open()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#abeef257039f3b95b7475bbecdb521b89" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_fill_array_close1_open2()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae0ed5a2ba6eb6f21fa591a54020af3ac" title="This function generates double precision floating point pseudorandom numbers which distribute in the ...">dsfmt_gv_fill_array_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a871323d18c3525787f63fcf071c4787d">dsfmt_gv_fill_array_open_open()</a>.</p>

</div>
</div>
<a class="anchor" id="a01bce92db767a0f976b56f88f8f89515"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#a01bce92db767a0f976b56f88f8f89515">genrand_close1_open2</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_close1_open2()</a>. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point number. see also </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#ae9bb29b63c46e57725dffa776cf930e7" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_genrand_close1_open2()</a> </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_close1_open2()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#af298572e9f2449e59ddf486977006621">dsfmt_gv_genrand_close1_open2()</a>.</p>

</div>
</div>
<a class="anchor" id="a188b24295a56aa56f823c7dfb0615971"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#a188b24295a56aa56f823c7dfb0615971">genrand_close_open</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#ae57b11ef3fdcf04e84fc0298166aab82" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_close_open()</a>. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point number. see also </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a989a29c7d5616755721ee41f0d1c3982" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_genrand_close_open()</a> </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#ae57b11ef3fdcf04e84fc0298166aab82" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_close_open()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#ae57b11ef3fdcf04e84fc0298166aab82">dsfmt_gv_genrand_close_open()</a>.</p>

</div>
</div>
<a class="anchor" id="ab24d54ba54b0249c02200a7f3232b342"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#ab24d54ba54b0249c02200a7f3232b342">genrand_open_close</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#afcdb7f3f26ca2d4a8f4e3854209fd4dd" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_open_close()</a>. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point number. see also </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#ac8916cdece1e0ed671077ba869aae509" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_genrand_open_close()</a> </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#afcdb7f3f26ca2d4a8f4e3854209fd4dd" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_open_close()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#afcdb7f3f26ca2d4a8f4e3854209fd4dd">dsfmt_gv_genrand_open_close()</a>.</p>

</div>
</div>
<a class="anchor" id="a902ef40cb5e9e3caad2cfb478224c071"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static double <a class="el" href="d_s_f_m_t_8h.html#a902ef40cb5e9e3caad2cfb478224c071">genrand_open_open</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af6dbcef408462da1f40edd1a1ea5dcd3" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_open_open()</a>. </p>
<dl class="section return"><dt>Returns:</dt><dd>double precision floating point number. see also </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a147a0a05c969a4cb5d92ce3963b839c2" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_genrand_open_open()</a> </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#af6dbcef408462da1f40edd1a1ea5dcd3" title="This function generates and returns double precision pseudorandom number which distributes uniformly ...">dsfmt_gv_genrand_open_open()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#af6dbcef408462da1f40edd1a1ea5dcd3">dsfmt_gv_genrand_open_open()</a>.</p>

</div>
</div>
<a class="anchor" id="a2792d3dd76b6ae051d60830b676622ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char * <a class="el" href="d_s_f_m_t_8h.html#a2792d3dd76b6ae051d60830b676622ba">get_idstring</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af181eeb77513e5a399dd2c585cfaa055" title="This function returns the identification string.">dsfmt_get_idstring()</a>. </p>
<dl class="section return"><dt>Returns:</dt><dd>id string. see also </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#af181eeb77513e5a399dd2c585cfaa055" title="This function returns the identification string.">dsfmt_get_idstring()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#af181eeb77513e5a399dd2c585cfaa055">dsfmt_get_idstring()</a>.</p>

</div>
</div>
<a class="anchor" id="a75ebedeed1c3d5e8576c53e5ce215fea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int <a class="el" href="d_s_f_m_t_8h.html#a75ebedeed1c3d5e8576c53e5ce215fea">get_min_array_size</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#af49cc1703b4cc1d0bffbd895917c303a" title="This function returns the minimum size of array used for fill_array functions.">dsfmt_get_min_array_size()</a>. </p>
<dl class="section return"><dt>Returns:</dt><dd>minimum size of array used for fill_array functions. see also </dd></dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#af49cc1703b4cc1d0bffbd895917c303a" title="This function returns the minimum size of array used for fill_array functions.">dsfmt_get_min_array_size()</a> </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#af49cc1703b4cc1d0bffbd895917c303a">dsfmt_get_min_array_size()</a>.</p>

</div>
</div>
<a class="anchor" id="a5f12cfe61e34b29a9c4f88f097712205"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a5f12cfe61e34b29a9c4f88f097712205">init_by_array</a> </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>init_key</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>key_length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">init_key</td><td>the array of 32-bit integers, used as a seed. </td></tr>
    <tr><td class="paramname">key_length</td><td>the length of init_key. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_gv_init_by_array()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#a0914ba62e9a46b6a1f04f27caa83ba87" title="This function initializes the internal state array, with an array of 32-bit integers used as the seed...">dsfmt_init_by_array()</a>. </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a4f989ee92f5e4c8f71570dbb9d19e838">dsfmt_gv_init_by_array()</a>.</p>

</div>
</div>
<a class="anchor" id="a985425dba38a16554d3f2a9ee3a41e1b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t_8h.html#a985425dba38a16554d3f2a9ee3a41e1b">init_gen_rand</a> </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>seed</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function is just the same as <a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">seed</td><td>a 32-bit integer used as the seed. see also </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_gv_init_gen_rand()</a>, </dd>
<dd>
<a class="el" href="d_s_f_m_t_8h.html#a8df497c74e469b5f42e8a22d93124d41" title="This function initializes the internal state array with a 32-bit integer seed.">dsfmt_init_gen_rand()</a>. </dd></dl>

<p>References <a class="el" href="d_s_f_m_t_8h.html#a74e3849c0ae0929d57c9c9ac52d58cc8">dsfmt_gv_init_gen_rand()</a>.</p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="adfee3c4c3505ddcfc334251f94968737"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="d_s_f_m_t_8h.html#a7e8239b4bedf4e53d5168d21848ab7af">dsfmt_t</a> <a class="el" href="d_s_f_m_t_8c.html#adfee3c4c3505ddcfc334251f94968737">dsfmt_global_data</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>dsfmt internal state vector </p>

</div>
</div>
<a class="anchor" id="ab5bb9876d117b3cdf8143c701a3f8cdf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="d_s_f_m_t_8h.html#ab5bb9876d117b3cdf8143c701a3f8cdf">dsfmt_global_mexp</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>dsfmt mexp for check </p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jun 29 2012 16:17:32 for dSFMT by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
